#include <stdio.h>
int main(int argc , const char *argv[])
{
    int i=1,sum=0;
    while(i<=100)
    {
        sum=i+sum;
        i++;
    }
     printf("1到100的和为= %d\n",sum);

       return 0;
}